package com.lanou.mapper;

import com.lanou.bean.AddrInfo;

import java.util.List;

public interface AddrInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AddrInfo record);

    int insertSelective(AddrInfo record);

    AddrInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AddrInfo record);

    int updateByPrimaryKey(AddrInfo record);

    int selectAddrIdByVipNo(String vipNo);

    //根据会员的addrId查询地址信息
    AddrInfo selectAddrInfoByid(Integer addrId);

    //根据会员账号信息查询所有的地址信息
    List<AddrInfo> getAllAddrinfoByVipInfoId(String vipNo);


}